<%-- 
    Document   : browserimgs
    Created on : Sep 17, 2010, 8:12:04 AM
    Author     : Bing
--%>

<%@page import="java.util.List"%>
<%@page import="java.io.File"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Browser</title>
    </head>
    <body>
            <%
                        List<File> files = (List) request.getAttribute("files");

                        if (files != null) {


                            for (File file : files) {
                                String name = file.getName();
                                String url = "imagebase/" + name;
            %>
            <a href="<%= "genShape.jsp?imagePath=" + name%>"><img alt=""  src='<%out.print(url);%>' height="200",  width="200"></img></a>
                <%
                                }
                            }
                %>

    </body>
</html>
